package com.lanchetech.admin.service;

import com.lanchetech.bean.request.AfterSalePageReq;
import com.lanchetech.bean.response.*;
import com.lanchetech.entity.AfterSale;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface AfterSaleService {

    ResultData<BasePageResp<AfterSaleResp>> getAfterSalePage(AfterSalePageReq req);

    void exportAfterSaleExcel(AfterSalePageReq req, HttpServletResponse response) throws IOException;

    ResultData<AfterSaleDetailResp> getAfterSaleDetail(Long id);

    BaseResp editAfterSaleLogistics(AfterSale req);

    BaseResp rejectAfterSale(AfterSale req);

    BaseResp confirmAfterSale(AfterSale req);

    String refundNotify(String xmlData);
}